package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

public class LocalGoodsShopRes {
    /**
     * 店铺id
     * isnull 0
     */        @ApiModelProperty(value="店铺id",position=2)
    private Integer shopId;
    /**
     * 店铺名称（本地生活和供应商城商户必传）
     * isnull 0
     */        @ApiModelProperty(value="店铺名称（本地生活和供应商城商户必传）",position=45)
    private String shopName;
    /**
     * 门店名称（如湖里万达店）
     * isnull 0
     */        @ApiModelProperty(value="门店名称（如湖里万达店）",position=4)
    private String name;
    /**
     * 在售开始时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value="在售开始时间",position=4)
    private LocalDateTime saleStartTime;
    /**
     * 在售结束时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value="在售结束时间",position=5)
    private LocalDateTime saleEndTime;
    /**
     * 库存
     * isnull 0
     */        @ApiModelProperty(value="库存",position=10)
    private Integer stock;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getSaleStartTime() {
        return saleStartTime;
    }

    public void setSaleStartTime(LocalDateTime saleStartTime) {
        this.saleStartTime = saleStartTime;
    }

    public LocalDateTime getSaleEndTime() {
        return saleEndTime;
    }

    public void setSaleEndTime(LocalDateTime saleEndTime) {
        this.saleEndTime = saleEndTime;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}
